﻿@model IEnumerable<SelectListItem>
@{
    foreach (var item in Model)
    {
    <input type="checkbox" @(item.Selected ? "checked=\"checked\"" : string.Empty) name="roles" id="@(item.Value)" value="@(item.Value)"/> @item.Text      
    }     
}
